package com.android.porttallymansystem.logic.receiver

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import com.android.porttallymansystem.logic.service.LocationService

class AlarmReceiver : BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent) {
        if (intent.action.equals("LOCATION_CLOCK")) {
            Log.e("ggb", "--------->>  onReceive: LOCATION_CLOCK")
            val locationIntent = Intent(context, LocationService::class.java)
            context.startService(locationIntent)
        }
    }
}